package com.apartment.own.domain.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

import java.io.Serializable;

/**
 * @author sxy
 * @version 1.0
 * @date 2020/9/3 0003 下午 1:55
 */
public enum CashPledgeTypeEnum implements IEnum {
    TYPE1(1, "无需支付", 1),
    TYPE2(2, "押1", 0),
    TYPE3(3, "押2", 0),
    TYPE4(4, "押3", 0),
    TYPE5(5, "自定义押金", 0);
    private Integer id;
    private String name;
    private Integer select;

    CashPledgeTypeEnum(Integer id, String name, Integer select) {
        this.id = id;
        this.name = name;
        this.select = select;
    }

    public Integer getSelect() {
        return select;
    }

    public void setSelect(Integer select) {
        this.select = select;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public Serializable getValue() {
        return null;
    }
}
